#ifndef __W25Q64_H
#define __W25Q64_H
#include "SSPI.h"
//初始化
void W25Q64_Init(void);
//读取ID
void W25Q64_ReadID(uint8_t *MID, uint16_t *DID);
// 写一页数据
void W25Q64_PageProgram(uint32_t Address, uint8_t *DataArry, uint16_t Length);
// 扇区擦除
void W25Q64_SectorErase(uint32_t Address);
// 读数据
void W25Q64_ReadData(int32_t Address, uint8_t *DataArry, uint32_t Length);
#endif //!__W25Q64_H
